let RegisterHome={
    path: '/RegisterHome',
    name: 'RegisterHome',
    component: () => import('../../../views/Personal/Register/Register.vue'),
    beforeEnter: (to, from, next) => {
        if(from.name=='page1'){
            next();
        }else if(from.name=='PersonalRegister'||'CompanyRegister'){
            next();
        }else if(sessionStorage.getItem('fName') && sessionStorage.getItem('fName')=='RegisterHome'){
            next()
        }
      }
}
export default RegisterHome